﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

[Table("QHSE_XY_VIOLATION_TYPE")]
public class QHSESysXyViolationType : EntityBase
{
    public QHSESysXyViolationType()
    {
    }


    /// <summary>
    /// ID
    /// </summary>
    [Column("VIOLATION_TYPE_ID")]
    [MaxLength(32)]
    [Key]
    public string ViolationTypeId { get; set; } = "";

    /// <summary>
    /// 违章性质编码
    /// </summary>
    [Column("VIOLATION_TYPE_CODE")]
    [MaxLength(32)]
    public string? ViolationTypeCode { get; set; }

    /// <summary>
    /// 违章性质描述
    /// </summary>
    [Column("VIOLATION_TYPE")]
    [MaxLength(100)]
    public string? ViolationType { get; set; }

    /// <summary>
    /// 扣分
    /// </summary>
    [Column("SCORE")]
    public float? Score { get; set; }

    /// <summary>
    /// 罚款
    /// </summary>
    [Column("FINE")]
    public float? Fine { get; set; }

    /// <summary>
    /// 排序号
    /// </summary>
    [Column("ORDER_NO")]
    public int? OrderNo { get; set; }

}
